package com.common.resolve;

import cn.hutool.http.ContentType;
import cn.hutool.json.JSONObject;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.http.HttpServletRequest;

import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @Description:
 * @Date: 2025/7/7 11:44
 */
public interface ContentTypeResolve {
    ContentType contentType();

    JSONObject resolve(ServletRequest servletRequest, ServletResponse servletResponse);
}
